import { useEffect } from "react";

const useLog = (componentName) => {
  useEffect(() => {
    console.log(`${componentName}组件运行了`);
  });
  return null;
};
export default useLog;
